﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Xfs
{
    [XfsObjectSystem]
    public class XfsTransformComponentSystem : XfsAwakeSystem<XfsTransformComponent>
    {
        public override void Awake(XfsTransformComponent self)
        {




        }
    }

    public static class XfsTransformComponentHelper
    {
        public static void  GetTrans(XfsTransformComponent self, double px, double py, double pz)
        {
            self.px = px;
            self.py = py;
            self.pz = pz;
        }

        public static void GetTrans(XfsTransformComponent self, double px, double py, double pz, double ay)
        {
            self.px = px;
            self.py = py;
            self.pz = pz;
            self.ay = ay;
        }

        public static void GetTrans(XfsTransformComponent self, double px, double py, double pz, double ax, double ay, double az)
        {
            self.px = px;
            self.py = py;
            self.pz = pz;
            self.ax = ax;
            self.ay = ay;
            self.az = az;
        }


    }

}
